/**
 * 
 */
package com.google.code.cisx.test;

import com.google.code.cisx.ann.DTO;

import javax.persistence.Basic;
import javax.persistence.Entity;

/**
 * @author <a href='mailto:rahul.thakur.xdev@gmail.com'>Rahul Thakur</a>
 * 
 */
@Entity
@DTO(dto = "com.google.code.cisx.formatters.PostalAddressFormatter")
public class PostalAddress extends CommonAddress {

  @Basic
  private String postcode;

  /**
   * @return the postcode
   */
  public String getPostcode() {
    return postcode;
  }

  /**
   * @param postcode the postcode to set
   */
  public void setPostcode(String postcode) {
    this.postcode = postcode;
  }

}
